﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Share/MainMenu.Master" AutoEventWireup="true"
    CodeBehind="fUserMaintain.aspx.cs" Inherits="MixScriptWeb.Member.fUserMaintain" %>
    
<%@ Register Src="~/control/MixScriptTB.ascx" TagName="baseTextBox" TagPrefix="mix" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <%--<script type="text/javascript" src="../Scripts/jquery-1.4.1.min.js"></script>--%>
<%--<script type="text/javascript">
    jQuery(document).ready(function () {
        alert('sdfdsf');
        jQuery('#pnldetail').load("~/detail.html");
        alert('aaaa');
    });
</script>--%>
    <div style="padding-left: 10px;">
       
           <h2 class="jquery_tab"> <asp:Label ID="lblTitle" runat="server" Text="User Management" Font-Bold="True"></asp:Label>
           </h2>
           <br />
        <table style="width: 525px;" class="table-ui">
            <tr>
                <td style="width: 144px; ">
                    <label id="lbuser" for="txtUserID" class="tebel">
                        User ID</label>
                </td>
                <td style="width: 5px; ">
                    :
                </td>
                <td style="width: 753px; ">
                
                   <%-- <asp:TextBox ID="txtUserID" runat="server" CssClass="input-set tebel" 
                        Width="132px"></asp:TextBox>&nbsp;
                    <asp:Image ID=Image1 runat="server" ToolTip="sfsd"  CssClass="errimg"
                        ImageUrl="~/Styles/images/24_x_false.png" Height="16px" Width="16px" />--%>
                    <mix:baseTextBox ID="mix1" runat="server"    AllowNull=True showFind=False 
                        tooltip="This Field Cannot be empty" isvalid="True" />
                    

                </td>
                <td style="width: 127px; ">
                </td>
            </tr>
            <tr>
                <td style="width: 144px;">
                    Employee ID
                </td>
                <td style="width: 5px;">
                    :
                </td>
                <td style="width: 753px;">
                   <mix:baseTextBox ID="mixEmployeeID" runat="server"    AllowNull=True showFind=True 
                        tooltip="This Field Cannot be empty" isvalid="True" />
                    <%--<asp:TextBox ID="txtEmployeeID" runat="server" CssClass="input-set " 
                        Width="133px"></asp:TextBox>--%>
                    <%--<asp:Button ID="Button3" runat="server" CssClass="btn" Text="..." />--%>
                   <%-- <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Styles/icons/search-24.png"
                        CssClass="search" ImageAlign="Top" />
                    <asp:Image ID=Image2 runat="server" ToolTip="sfsd"  CssClass="errimg"
                        ImageUrl="~/Styles/images/24_x_false.png" Height="16px" Width="16px" />
                    --%>

                </td>
                <td style="width: 127px;">
                </td>
            </tr>
            <tr>
                <td style="width: 144px; ">                   
                       Password
                </td>
                <td style="width: 5px; ">
                    :
                </td>
                <td style="width: 753px; ">
                 <mix:baseTextBox ID="mixPassword" runat="server"    AllowNull=false showFind=False 
                        tooltip="" isvalid="True" isPassword="True" tWidht="300" 
                        UpperCase="False" />
                    <%--<asp:TextBox ID="txtInitPass" runat="server" TextMode="Password" 
                        CssClass="input-set tebel" Width="182px"></asp:TextBox>
                    <asp:Image ID=Image3 runat="server" ToolTip="sfsd"  CssClass="errimg"
                        ImageUrl="~/Styles/images/24_x_false.png" Height="16px" Width="16px" />
                    --%>

                </td>
                <td style="width: 127px; ">
                </td>
            </tr>
            <tr>
                <td style="width: 144px; ">
                </td>
                <td style="width: 5px; ">
                    :
                </td>
                <td style="width: 753px; ">
                 <mix:baseTextBox ID="mixConfirm" runat="server"    AllowNull=false showFind=False 
                        tooltip="" isvalid="True" isPassword="True" tWidht="300" 
                        UpperCase="False" />
                    <%--<asp:TextBox ID="txtConfirm" runat="server" TextMode="Password" Width="182px" 
                        CssClass="input-set"></asp:TextBox>
                    <asp:Image ID=Image4 runat="server" ToolTip="sfsd"  CssClass="errimg"
                        ImageUrl="~/Styles/images/24_x_false.png" Height="16px" Width="16px" />--%>
                    

                </td>
                <td style="width: 127px; ">
                </td>
            </tr>
            <tr>
                <td style="width: 144px; ">
                    &nbsp;</td>
                <td style="width: 5px; ">
                    &nbsp;</td>
                <td style="width: 753px; ">
                    <asp:DropDownList ID="ddlActive" runat="server" Visible="False">
                        <asp:ListItem Value="Y">Yes</asp:ListItem>
                        <asp:ListItem Value="N">No</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td style="width: 127px; ">
                </td>
            </tr>
            <%--<tr>
                <td style="height: 26px; width: 196px;">
                    Vendor</td>
                <td style="width: 5px; height: 26px;">
                    :</td>
                <td style="height: 26px; width: 753px;">
                    <asp:TextBox ID="txtKeterangan" runat="server" Font-Bold="True"></asp:TextBox></td>
                <td style="width: 127px; height: 26px">
                </td>
            </tr>--%>
        </table>
        <br />
        <table style="width: 600px" class="table-ui" >
            <tr>
                <td style="height: 26px">
                    <asp:Button ID="btnSave" runat="server" CssClass="button" Text="Save" 
                        Width="99px" OnClick="btnSave_Click" />
                </td>
                <td style="height: 26px">
                </td>
                <td style="height: 26px">
                    <asp:Button ID="btnDelete" runat="server" Text="Delete" CssClass="button" Width="109px"
                        OnClientClick="verify()" OnClick="btnDelete_Click" />
                </td>
                <td style="height: 26px">
                </td>
                <td style="height: 26px">
                    <asp:Button ID="btnFind" runat="server" Text="Find" CssClass="button" Width="101px"
                        OnClick="btnFind_Click" />
                </td>
                <td style="height: 26px">
                </td>
                <td style="height: 26px">
                    <asp:Button ID="btnREset" runat="server" Text="Reset Pass" CssClass="button" Width="101px"
                        OnClick="btnREset_Click" />
                </td>
                <td style="height: 26px; width: 4px;">
                    &nbsp;</td>
                <td style="height: 26px">
                               <asp:Button ID="btnClear" runat="server" Text="Clear" CssClass="button" 
                                   Width="101px" onclick="btnClear_Click" /></td>
            </tr>
        </table>
        <br />
        <asp:GridView ID="gvdetail" runat="server" AutoGenerateColumns="False" 
               Width="100%" AllowPaging="True" CssClass="gridview" PageSize="15" 
               onselectedindexchanged="gvdetail_SelectedIndexChanged" AllowSorting="True" 
               onpageindexchanging="gvdetail_PageIndexChanging" onsorting="gvdetail_Sorting">
    
            <AlternatingRowStyle CssClass="alt" />
    
            <Columns >
                <asp:CommandField ShowSelectButton="True"  />
                <asp:BoundField DataField="userid" HeaderText="User ID" SortExpression="userid"></asp:BoundField>
                <asp:BoundField DataField="empid" HeaderText="NIK" SortExpression="peopleid"></asp:BoundField>
                <asp:BoundField DataField="passexpired" HeaderText="Password Expired"></asp:BoundField>
                <asp:BoundField DataField="errorcount" HeaderText="Error Count" />
                
            </Columns>
            <EditRowStyle BorderColor="Silver" BorderStyle="Solid" />
                    <FooterStyle CssClass="ft" />
            <%--<PagerStyle BorderStyle="None" BorderWidth="0px" HorizontalAlign="Center" />--%>
            
        </asp:GridView>
        <asp:Label ID="lblRowCount" runat="server" Font-Bold="True" Font-Size="X-Small"></asp:Label>
        <br />
        <div id="pnldetail"></div>
        <br />
        <br />
        </div>
</asp:Content>
